package org.wmq.housemodel.enums;

public enum Status {
    CANCEL(0,"已取消"),
    WAIT_PAY(1,"待支付"),
    WAIT_TRANSFER(2,"待发货"),
    WAIT_RECEIPT(3,"待收货"),
    RECEIVE(4,"已收货"),
    COMPLETE(5,"已完成");

    private final Integer value;
    private final String desc;

    Status(Integer value, String desc){
        this.value = value;
        this.desc = desc;
    }

    public Integer value(){
        return this.value;
    }

    public String desc(){
        return this.desc;
    }
}
